package com.bytecub.common.domain.dto.request.device;

import java.util.List;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import lombok.Data;

/**
 * ByteCub.cn. Copyright (c) 2020-2021 All Rights Reserved. 子设备关联到网关设备
 *
 * @author bytecub@163.com songbin
 * @version Id: GatewayMapReqDto.java, v 0.1 2021-02-01 Exp $$
 */
@Data
public class GatewayMapReqDto {
    @NotNull(message = "网关设备编码不能为空")
    String gwDeviceCode;

    @NotEmpty(message = "子设备列表不能为空")
    List<String> devices;

    Boolean removeAction = false;
}
